import React, {Component} from "react";
import {
    View,
    Text,
    Image,
    TouchableOpacity,
    StyleSheet,
    WebView,
}from 'react-native';
import NavigationBar from "../common/NavigationBar"
import ListViewTest from "../common/ListViewTest"

let data = [
    {
        "title": "车辆管理",
        "icon": "md-car",
        "type":"sas",
        "target":"vmap"
    },
    {
        "title": "安全管理",
        "icon": "md-list",
        "type":"native",
        "target":"airportSafetyRule",
    },
    {
        "title": "质量管理",
        "icon": "md-list",
        "type":"native",
        "target":"airportProjectRule",
    },
    {
        "title": "工程监理",
        "icon": "md-list",
        "type":"native",
        "target":"airportProjectSupervise",
    },
    {
        "title": "监测与检测",
        "icon": "md-list",
        "type":"native",
        "target":"airportSuperviseCheck",
    },
];

export default class WitAirport extends Component {
    constructor(props) {
        super(props);
        this.state = {}
    }

    render() {
        return (
            <View style={styles.container}>
                <NavigationBar
                    title={"智慧机场"}
                />
                <ListViewTest
                    data={data}
                    navigation={this.props.navigation}
                />
            </View>
        )
    }
}

const styles = StyleSheet.create({
    container: {
        flex: 1,
        backgroundColor: "white",
    },
    text: {
        fontSize: 20,
    }
})